package thread.demo.deque;

import java.util.Deque;
import java.util.LinkedList;

public class DequeTest001 {
  public static void main(String[] args) {
    
    Deque<Integer> stack = new LinkedList<>();
    
    stack.addFirst(1);
    stack.addFirst(2);
    
    System.out.println(stack.peek());
  }
}
